﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace ICeFramework.Win.UI
{
    internal static class Win32
    {
        [StructLayout(LayoutKind.Sequential)]
        internal struct RECT
        {
            public int Left;
            public int Top;
            public int Right;
            public int Bottom;
        }

        internal enum WM_MESSAGE
        {
            WM_NCCALCSIZE = 131,
            WM_NCPAINT = 133,
            WM_NCHITTEST = 132,
            WM_NCLBUTTONDOWN = 161,
        }

        [StructLayout(LayoutKind.Sequential)]
        internal struct NCCALCSIZE_PARAMS
        {
            public RECT rgrc0, rgrc1, rgrc2;
            public IntPtr lppos;
        }
    }
}
